#include <bits/stdc++.h>
using namespace std;

int main()
{

    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    ios::sync_with_stdio(false);
    int n,a[100001];
    cin>>n;
    int t=n;
    bool v[100001];
    memset(v,false,sizeof(v));
    for(int i=1;i<=n;i++)
        cin>>a[i];
    sort(a+1,a+n+1);

    for(int i=1;i<=n;i++)
    {
        if(!v[i])
            for(int j=1;j<=i;j++)
            if(!v[j]&&a[j]<a[i])
        {
            t--;
            v[i]=true;
            break;
        }
    }
    cout<<t<<endl;
    return 0;
}

